#!/usr/bin/env ruby

while (line = $stdin.gets)
  case line
  when /^[0-9.e\- ]+(pass|fail)$/
    puts "GFlops: #{line.split[4]}"
  end
end
